package com.woniu.car.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * <p>
 * 服务流程表
 * </p>
 *
 * @author *********
 * @since 2021-06-21
 */
@Data
public class TProcessParam {

    /**
     * 服务id
     */
    @NotNull(message = "服务ID不能为空")
    @Min(value = 1, message = "服务ID有误")
    @ApiModelProperty(value = "服务id",example = "1")
    private Integer serviceId;

    /**
     * 服务流程名
     */
    @NotNull(message = "服务流程名不能为空")
    @ApiModelProperty(value = "服务流程名")
    private String serviceName;

    /**
     * 服务流程顺序
     */
    @NotNull(message = "服务流程顺序不能为空")
    @ApiModelProperty(value = "服务流程顺序（数字大小决定先后）")
    private Integer nob;

}
